package com.lxj.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lxj
 * @date 2021/6/22 11:11
 * @Description:自定义业务异常类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BussiException extends RuntimeException{

    private Integer code;//异常码

    private String message;//异常信息
}
